home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / UVisualEffect (PP) / UVisualEffect.sit / UVisualEffect / UVisualEffect.h < prev    next >
Text File  |  1995-08-23  |  2KB  |  54 lines

  1. // ===========================================================================
  2. //    UVisualEffect.h                    ⌐ 1995, âric Forget. All rights reserved.
  3. // ===========================================================================
  4. //    
  5. //    ************************************************************************
  6. //    *                                                                      *
  7. //    *    Before using this code you should read the "License Agreement"     *
  8. //    *    document and agree with it.                                        *
  9. //    *                                                                      *
  10. //    ************************************************************************
  11. //
  12. //    Instruction and usage notes are in the UVisualEffect.cp file.
  13. //
  14. // ---------------------------------------------------------------------------
  15.  
  16. #pragma once
  17.  
  18.  
  19.  
  20. // ---------------------------------------------------------------------------
  21. //        Ñ Classe UVisualEffect
  22. // ---------------------------------------------------------------------------
  23.  
  24. class UVisualEffect {
  25.  
  26. protected:
  27.  
  28.     static Int16            sNbrStep;
  29.     static Rect                sFirstRect;
  30.     static Rect                sLastRect;
  31.  
  32.  
  33. public:
  34.  
  35.     static void                Initialize(Int16 inNbrStep = UVisualEffect::sNbrStep);
  36.                             
  37.     static void                SetFirstRect(Rect inFirstRect);
  38.     static void                SetFirstPane(LPane *inFirstPane);
  39.                             
  40.     static void                SetLastRect(Rect inLastRect);
  41.     static void                SetLastPane(LPane *inLastPane);
  42.                             
  43.     static void                SetRects(Rect inFirstRect, Rect inLastRect);
  44.     static void                SetPanes(LPane *inFirstPane, LPane *inLastPane);
  45.     
  46.     static void                DoPlayEffects();
  47.  
  48. protected:
  49.  
  50.     static Rect                CalcGlobalPaneFrame(LPane *inPane);
  51.                             
  52. };
  53.  
  54.